package com.lanou.bean;

import java.util.List;

public class Account {

    private Integer aid;
    private String aname;
    private Integer blance;
    private List<Student> stus;

    @Override
    public String toString() {
        return "Account{" +
                "id=" + aid +
                ", aname='" + aname + '\'' +
                ", blance=" + blance +
                ", stus=" + stus +
                '}';
    }

    public List<Student> getStus() {
        return stus;
    }

    public void setStus(List<Student> stus) {
        this.stus = stus;
    }

    public Account(Integer aid, String aname, Integer blance, List<Student> stus) {
        this.aid = aid;
        this.aname = aname;
        this.blance = blance;
        this.stus = stus;
    }

    public Account() {
    }

    public Integer getId() {
        return aid;
    }

    public void setId(Integer id) {
        this.aid = id;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public Integer getBlance() {
        return blance;
    }

    public void setBlance(Integer blance) {
        this.blance = blance;
    }
}
